package com.huike.review.service;

import com.huike.common.core.domain.AjaxResult;
import com.huike.common.core.page.TableDataInfo;
import com.huike.review.pojo.Review;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    boolean save1(String name,int age,String sex);

    boolean save2(Review review);

    boolean delete(int id);

    boolean update(Review review);

    Review getById(Long id);


    List<Review> getByPage1();
}
